//
//  AddInputCell.swift
//  HuaYun
//
//  Created by Mac on 2019/3/20.
//  Copyright © 2019 xyxorigation. All rights reserved.
//

import UIKit

class AddInputCell: UITableViewCell {

    var inputField = UITextField()
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.contentView.addSubview(inputField)
        inputField.snp.makeConstraints { (make) in
            make.left.equalToSuperview().offset(15)
            make.top.equalToSuperview().offset(5)
            make.center.equalToSuperview()
        }
        inputField.keyboardType = .decimalPad
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
